<?php
namespace PartnerAdmin\Controller;
use Think\Controller;
class GoodsController extends CommonController {
    public function showlist(){

        $data =  D('Goods')->search();
        // var_dump($data);die;
        $this->assign($data);
        $this->display();
    }
    public function category(){
        $btn = makeAlipayBtn(1);
        echo $btn;die;
        $this->assign('btn',$btn);
        $good_cates = D('Goods')->cate();
        //print_r($good_cates);die; 
        $this->assign('good_cates',$good_cates);
        $this->display();
    }
    public function category_add(){
        $this->display();
    }
}